//
//  ILMusicPlayerManager.h
//  ILife
//
//  Created by lanou on 15/10/27.
//  Copyright © 2015年 ILife. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface ILMusicPlayerManager : NSObject
@property(nonatomic, assign)BOOL isPlay;
// 总时间
@property(nonatomic, assign, readonly)CGFloat finishTime;
// 当前时间
@property(nonatomic, assign, readonly)CGFloat currentTime;
// 单例
+ (instancetype)shareManager;
-(void)playMusicWithURL:(NSURL *)file;
// 播放/暂停
- (void)playAndPause;

- (void)musicPause;
- (void)musicPlay;

- (void)jumpToNewTime:(CGFloat)time;
@end
